package com.itheima.reggie.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.itheima.reggie.domain.Order;

import java.util.Date;

public interface OrderService {

    //保存订单
    void save(Order order);

    //查询订单
    Page<Order> findByPage(Integer pageNum, Integer pageSize, Date beginTime, Date endTime, Long number);

}
